package com.ctshk.rpc.order.goods.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * TODO
 *
 * @author 黄利斌
 * @date 2021/5/31 3:56 下午
 */
@Data
@ApiModel(value = "CommodityReq对象",description = "商城搜索C端请求对象")
public class CommodityReq {

    @ApiModelProperty(value = "页码")
    private Integer page;

    @ApiModelProperty(value = "页数量")
    private Integer size;

    @ApiModelProperty(value = "分类选择id")
    @NotNull(message = "分类id不能传空值")
    private Integer statusCode;

    @ApiModelProperty(value = "二级分类id")
    private String towLevelId;

    @ApiModelProperty(value = "关键词搜索")
    private String keyword;
}
